﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TMS.Model
{
    /// <summary>
    /// 房号表
    /// </summary>
    public class Roomnum
    {
        [Key]
        public int Nid { get; set; }
        /// <summary>
        /// 房型id
        /// </summary>
        public int Rtypeid { get; set; }
        /// <summary>
        /// 房态id
        /// </summary>
        public int Hsid { get; set; }
        
        /// <summary>
        /// 房间号
        /// </summary>
        public int Nname { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Cdate { get; set; } = DateTime.Now;
        /// <summary>
        /// 房间状态
        /// </summary>
        public int Rstate { get; set; } = 1;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Isdel { get; set; } = false;
    }
}
